package com.pw.manage.roster.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pw.common.annotation.Excel;
import com.pw.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

@Data
public class EmployeesRostervo extends BaseEntity {

    private Long id;

    @Excel(name = "姓名")
    private String name;

    /** 工号 */
    @Excel(name = "工号")
    private String employeeNumber;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 岗位 */
    @Excel(name = "岗位")
    private String position;

    /** 工作性质 */
    @Excel(name = "工作性质")
    private String workNature;

    /** 入职日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hireDate;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private String certificateType;

    /** 证件号码 */
    @Excel(name = "证件号码")
    private String certificateNumber;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;
}
